package com.peterelst.draw3D
{
	public class Point3D
	{
		public var x:Number;
		public var y:Number;
		public var z:Number;	
		
		public function Point3D(xVal:Number=0, yVal:Number=0, zVal:Number=0)
		{
			x = xVal;
			y = yVal;
			z = zVal;
		}
		
		public function to2D():Point2D {
			return Draw3D.convert3DTo2D(this);
		}
		
	}

}